package client.gui;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JLabel;

public class ServicePanel extends ItemPanel {
	private static final long serialVersionUID = 8916031839960592232L;
	private JLabel serviceLabel = new JLabel();
	private String serviceName;
	
	public ServicePanel(String service){
		//setLayout(null);
		init();
		serviceName = service;
		serviceLabel.setText(serviceName);
	}

	private void init() {
		add(serviceLabel);
		setPreferredSize(new Dimension(750,30));
		setBorder(BorderFactory.createLineBorder(Color.black));
	}
	


}
